package com.baosight.risk.api.xtzy;

import java.util.List;

import com.baosight.risk.base.service.BaseService;
import com.baosight.risk.service.xtzy.entity.XtzyOrg;
import com.baosight.risk.service.xtzy.entity.XtzyUser;
import com.baosight.risk.service.xtzy.vo.XtzyOrgVO;


/**
 * 
 * @author zzw
 *
 */
public interface IXtzyOrgService extends BaseService<XtzyOrg> {

	List<XtzyOrgVO> selectAllOrg(XtzyOrg org);
	
	int save(XtzyOrg org);
	
	XtzyOrg getByBusiOrgCode(String busiOrgCode);
	
	int deleteSubs(String id);
	
	XtzyOrg getOneByMangeCompCode(String manageCompCode,String busiOrgClassify) throws Exception;
	
	List<XtzyUser> getUserAndOrgCodeAndRoleId(String busiOrgCode, String roleId);

}